<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="__EXTEND__/favicon.ico" >
    <link rel="Shortcut Icon" href="__EXTEND__/favicon.ico" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__EXTEND__/lib/html5shiv.js"></script>
    <script type="text/javascript" src="__EXTEND__/lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="__EXTEND__/static/h-ui.admin/css/style.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="__EXTEND__/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>领导批注</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> <a style='color:#2a4f92' href="{{:U('Admin/Index/welcome')}}">首页</a> <span class="c-gray en">&gt;</span> 审批管理 <span class="c-gray en">&gt;</span> 领导批注
    <a class="btn btn-default radius r " id="btn-refresh" style="line-height:1.6em;margin-top:3px" href="{{:U('Admin/Apply/Apply3List')}}" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <form id="searchform" action="{{:U('Admin/Apply/Apply3List')}}" method="post">
        <div class="cl">
            编号:
            <input type="text" value="{{$searchs['number']}}" name="number" id="number" placeholder=" 请输入编号" style="width:200px" class="input-text">
            项目分类:
            <span class="select-box inline">
                    <select name="p_id" class="select" style="width:200px">
                        <option value="">全部分类</option>
                        <foreach name="projects" item = "project">
                            <option value="{{$project['id']}}" <if condition = "$searchs['p_id'] eq $project['id']"> selected</if>>{{$project['name']}}</option>
                        </foreach>
                    </select>
                </span>
            申请人姓名:
            <input type="text" value="{{$searchs['submitter']}}" name="submitter" id="submitter" placeholder=" 请输入申请人姓名" style="width:200px" class="input-text">
            验证手机:
            <input type="text" value="{{$searchs['validate_phone']}}" name="validate_phone" id="validate_phone" placeholder=" 请输入验证手机" style="width:200px" class="input-text">
            <button type="submit" class="btn btn-primary radius" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 筛选</button>
        </div>
    </form>
    <form class="form form-horizontal" id="form-group-del">
        <if condition="$page">
            <div class="cl pd-5 bg-1 bk-gray mt-20">
                <span class="l"></span>
                <span class="r">{{$page}}</span>
            </div>
        </if>
        <div class="mt-20">
        <table class="table table-border table-bordered table-bg  table-hover table-striped">
            <thead>
                <tr class="text-c">
                    <th width=""><input type="checkbox" name="" value=""></th>
                    <th width="">
                        <a href="{{:UField('Apply6List',$sort,'id',$p)}}" title="点击排序" class="{{:CField($sort,'id')}}">ID</a>
                    </th>
                    <th width="">编号</th>
                    <th width="15%">项目分类</th>
                    <th width="">申请人姓名</th>
                    <th width="">申请单位</th>
                    <th width="">验证手机</th>
                    <th width="">
                        <a href="{{:UField('Apply6List',$sort,'apply_time',$p)}}" title="点击排序" class="{{:CField($sort,'apply_time')}}">申请时间</a>
                    </th>
                    <th width="">审批人</th>
                    <th width="">
                        <a href="{{:UField('Apply6List',$sort,'accept_time',$p)}}" title="点击排序" class="{{:CField($sort,'accept_time')}}">受理时间</a>
                    </th>
                    <th width="">剩余时间</th>
                    <th width="">状态</th>
                    <th width="">操作</th>
                </tr>
            </thead>
            <tbody>
                <notempty name="lists">
                <foreach name="lists" item="list">
                    <tr class="text-c">
                        <td><input class="ids" type="checkbox" name="id[]" value="{{$list['id']}}" /></td>
                        <td>{{$list['id']}}</td>
                        <td>{{$list['number']}}</td>
                        <td>{{$list['project_name']}}</td>
                        <td>{{$list['submitter']}}</td>
                        <td>{{$list['submitter_company']}}</td>
                        <td>{{$list['validate_phone']}}</td>
                        <td>{{:date("Y-m-d H:i:s",$list['apply_time'])}}</td>
                        <td>{{$list['nickname']}}</td>
                        <td>{{:date("Y-m-d H:i:s",$list['accept_time'])}}</td>
                        <td style="<if condition="$list['wait_complete_time'] eq '已超出'">color:red</if>">
                            {{$list['wait_complete_time']}}
                        </td>
                        <td>
                            <switch name="list['status']">
                                <case value="1">待受理</case>
                                <case value="2|3|4">受理中</case>
                                <case value="5">受理完成</case>
                                <case value="6">受理被拒</case>
                            </switch>
                        </td>
                        <if condition="$just_list eq 2">
                            <td class="td-manage">
                                <a style="text-decoration:none" class="ml-5" onClick="do_full('操作({{$list['number']}})','{{:U('Admin/Apply/Apply3Edit',array('id'=>$list['id'],'p'=>$p))}}')" href="javascript:;" title="操作">
                                    <i class="Hui-iconfont">&#xe6df;</i>
                                </a>
                            </td>
                            <else/>
                            <td class="td-manage">
                                <a style="text-decoration:none" class="ml-5" onClick="do_full('查看项目({{$list["number"]}})','{{:U('Admin/Apply/Apply5Edit',array('id'=>$list['id'],'p'=>$p))}}')" href="javascript:;" title="查看进度">
                                    <i class="Hui-iconfont">&#xe725;</i>
                                </a>
                            </td>
                        </if>
                    </tr>
                </foreach>
                <tr>
                    <td scope="col" colspan="60" >
                        <span class="r" >{{$page}}</span>
                    </td>
                </tr>
                <else/>
                <tr><td colspan="60" class="text-center">  暂时还没有内容! </td></tr>
            </notempty>
            </tbody>
        </table>
    </div>
    </form>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__EXTEND__/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__EXTEND__/static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__EXTEND__/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__EXTEND__/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="__EXTEND__/lib/laypage/1.2/laypage.js"></script>

<script type="text/javascript">

    function do_full(title,url){
        layer_full(title,url);
    }

    function do_show(title,url,w,h){
        layer_show(title,url,w,h);
    }

</script>
</body>
</html>